package xyz.zhouzhaodong.crm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import xyz.zhouzhaodong.crm.dto.AirportDto;
import xyz.zhouzhaodong.crm.entity.Airport;
import xyz.zhouzhaodong.crm.util.RestMessage;

/**
 * <p>
 * 接机 服务类
 * </p>
 *
 * @author zhouzhaodong
 * @since 2020-06-19
 */
public interface IAirportService extends IService<Airport> {

    /**
     * 新增接机
     * @param airportDto
     * @return
     */
    RestMessage addAirport(AirportDto airportDto);

    /**
     * 删除接机
     * @param airportDto
     * @return
     */
    RestMessage deleteAirport(AirportDto airportDto);

    /**
     * 修改接机
     * @param airportDto
     * @return
     */
    RestMessage updateAirport(AirportDto airportDto);

    /**
     * 查询接机
     * @param airportDto
     * @return
     */
    RestMessage selectAirport(AirportDto airportDto);

    /**
     * 根据用户id查询接机
     * @param airportDto
     * @return
     */
    RestMessage selectAirportList(AirportDto airportDto);

}
